function search() {

    let url = window.location.protocol + '//' + window.location.host + '/' + window.location.pathname.split('/')[1];
    let kewWord = $("#search").val();
    console.log(url);
    top.location= `/${window.location.pathname.split('/')[1]}/searchResult.jsp?kw=${kewWord}`;

}